<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- import Vue before Element -->
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <!-- import JavaScript -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>
<style>
    .el-dropdown-link {
        cursor: pointer;
        color: #409EFF;
    }
    .el-icon-arrow-down {
        font-size: 12px;
    }
</style>
<body>
<div id="app">

    <!--激活事件-->
    <!--<el-dropdown>-->
      <!--<span class="el-dropdown-link">-->
        <!--下拉菜单<i class="el-icon-arrow-down el-icon&#45;&#45;right"></i>-->
      <!--</span>-->
            <!--<el-dropdown-menu slot="dropdown">-->
                <!--<el-dropdown-item>退出系统</el-dropdown-item>-->
                <!--<el-dropdown-item disabled>修改密码</el-dropdown-item>-->
                <!--<el-dropdown-item divided>联系管理员</el-dropdown-item>-->
            <!--</el-dropdown-menu>-->
    <!--</el-dropdown>-->
    <!--&lt;!&ndash;点击事件&ndash;&gt;-->
    <!--<el-dropdown trigger="click">-->
      <!--<span class="el-dropdown-link">-->
        <!--下拉菜单<i class="el-icon-arrow-down el-icon&#45;&#45;right"></i>-->
      <!--</span>-->
        <!--<el-dropdown-menu slot="dropdown">-->
            <!--<el-dropdown-item>退出系统</el-dropdown-item>-->
            <!--<el-dropdown-item disabled>修改密码</el-dropdown-item>-->
            <!--<el-dropdown-item divided>联系管理员</el-dropdown-item>-->
        <!--</el-dropdown-menu>-->
    <!--</el-dropdown>-->

    <!--点击事件，按钮-->
    <el-dropdown trigger="click" split-button>
      <span class="el-dropdown-link">
        下拉菜单<i></i>
      </span>
        <el-dropdown-menu slot="dropdown">
            <el-dropdown-item>退出系统</el-dropdown-item>
            <el-dropdown-item disabled>修改密码</el-dropdown-item>
            <el-dropdown-item divided>联系管理员</el-dropdown-item>
        </el-dropdown-menu>
    </el-dropdown>
</div>
</body>

<script>
    new Vue({
        el: '#app',
        data: {

        },
        methods:{

        }
    })
</script>
</html>